                                            <div class="main_title"><?php echo link_to(__('АФИША'),'@afisha_catalog')?></div> 
                                                <?php foreach($mat as $m):?>                                            
                                            <div class="main_afisha">                                           
                                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                <td width="1%" valign="top">
                                                <?php if($m->getPhotoPath()!=''):?>
                                                <?php echo link_to(image_tag('/uploads/material/articles/_thumbnail/'.$m->getPhotoPath()),'@article_show?id='.$m->getId())?>
                                                <?php endif ?>
                                                </td>
                                                
                                                <td valign="top">
                                                <div class="afisha_name size11"><?php echo link_to($m->getTitle(),'@afisha_show?id='.$m->getId())?></div>
                                                <div><?php echo mb_substr(strip_tags($m->getShortContent()),0,sfConfig::get('app_substr_mainpage_afisha'),'utf-8').'...'?></div>
                                                </td>
                                              </tr>
                                            </table>
                                            </div>
                                            <div class="main_more"><?php echo link_to(__('Подробнее'),'@afisha_show?id='.$m->getId())?></div>
												<?php endforeach ?>